package org.zcl.service.impl;

import org.springframework.stereotype.Service;
import org.zcl.utils.QueryService;
import org.zcl.utils.SpringBeanUtils;

/**
 * @Package org.zcl.service.impl
 * @PROJECT_NAME: question
 * @DESCRIPTION:
 * @USER: zhuchenglin
 * @DATE: 2022/1/25 11:30
 */
@Service
public class TypeSerive {

    public QueryService queryMainService(){
        //红包的发放方式
        return SpringBeanUtils.getBean(QueryMainServiceImpl.class);
    }

    public QueryService queryAsyncService(){
        //购物券的发放方式
        return SpringBeanUtils.getBean(QueryAsyncServiceImpl.class);
    }

    public QueryService queryService(){
        //购物券的发放方式
        return SpringBeanUtils.getBean(QueryServiceImpl.class);
    }
}
